package com.dhnsoft.boot3.rpc.service;

import com.dhnsoft.boot3.rpc.config.WeatherConfiguration;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import reactor.core.publisher.Mono;

/**
 * @author dhn
 * @version 1.0
 * @date 2023-09-12 17:43
 * @Desc
 */
@Service
public class ExpressService {
    @Autowired
    ExpressInterface expressInterface;
    public Mono<String> express(String no)
    {
        Mono<String> weather = expressInterface.getExpress(no);
        return weather;
    }
}
